//
//  UIView+NightManager.h
//  ProjectA
//
//  Created by dllo on 16/1/25.
//  Copyright © 2016年 刘旺辉. All rights reserved.
//

#import <UIKit/UIKit.h>
#define RGBA(R/*红*/, G/*绿*/, B/*蓝*/, A/*透明*/) \
[UIColor colorWithRed:R/256.f green:G/256.f blue:B/256.f alpha:A]
@interface UIView (NightManager)

+ (void)setColorWithLabelText:(UILabel *)label nightColor:(UIColor *)nightColor dayColor:(UIColor *)dayColor;

+ (void)setColorWithLabelView:(UILabel *)label nightColor:(UIColor *)nightColor dayColor:(UIColor *)dayColor;

+ (void)setColorWithLabelView:(UILabel *)label nightColorWithRed:(CGFloat)r1 green:(CGFloat)g1 blue:(CGFloat)b1 alpha:(CGFloat)a1 dayColorWithRed:(CGFloat)r2 green:(CGFloat)g2 blue:(CGFloat)b2 alpha:(CGFloat)a2;

+ (void)setColorWithView:(UIView *)view nightColor:(UIColor *)nightColor dayColor:(UIColor *)dayColor;
+ (void)setColorWithView:(UIView *)view nightColor:(UIColor *)nightColor dayColorWithRed:(CGFloat)r2 green:(CGFloat)g2 blue:(CGFloat)b2 alpha:(CGFloat)a2;
+ (void)setColorWithTextField:(UITextField *)textField nightColor:(UIColor *)nightColor dayColorWithRed:(CGFloat)r2 green:(CGFloat)g2 blue:(CGFloat)b2 alpha:(CGFloat)a2;

+ (void)setColorWithButton:(UIButton *)button nightColor:(UIColor *)nightColor dayColor:(UIColor *)dayColor;
//+ (void)setColorWithImage
@end
